import java.io.IOException;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import javax.xml.bind.JAXBException;

public class TextHandling {
	public static String name = "test";
	public static String nameFormatted = "test";
	private final static String newline = "\n";
	public static String notes = "c.d.ef.g.a.b";
	public static boolean keySet = false;
	public static boolean tempoSet = false;
	public static boolean newLearn = true;
	public static boolean searchComplete = false;
	
	public static String artist = "null";
	public static String song = "null";
	public static String score = "null";
	public static String style = "null";
	
	public static void receive(String text) throws JAXBException, IOException {

		text = text.trim();
		text = text.toLowerCase();
		int textLength = text.length();



//		------------ SCORE / INSTRUCTIONS ---------------------------------------------------
		
		if (textLength > 9) {
			if (text.substring(0, 10).equals("add artist")) {

			}
		}
	}
}
